﻿#pragma once
#include <string>
#include <graphics.h>
#include <windows.h>
#include <vector>
#include <iostream>

// 定义界面状态
enum class CLState {
    TOPMENU,      // 主菜单
    USAGE,          // 使用说明
    POWER,          // 电源
    NORMAL,         // 正常程序
    // 其他可能的界面...
};

extern PIMAGE ckl;

void drawCL(int x0, int y0, double height, double cl_x, double cl_y);
void clTopButton(double x0, double y0, double clscale);
void clTitleTheme(double x0, double y0, double clscale);
void clDownButton(double x0, double y0, double clscale);

void clTopMenu(double x0, double y0, double clscale);
void clUsage(double x0, double y0, double clscale);
void clPower(double x0, double y0, double clscale);
void clNormal(double x0, double y0, double clscale);